﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Microhard.Permission.MVCFilter
{
    public class AfterIndexActionFilter : IAfterActionDataFilter
    {

        #region IAfterActionDataFilter Members

        public void FilterAction(ActionExecutedContext filterContext, Models.User currentUser)
        {
            var vr = filterContext.Result as ViewResult;
            if (vr != null)
            {
                var od = vr.Model;
            }
        }


        public Interface.IDataPermission DataPermission
        {
            set;
            get;
        }
        #endregion

    }
}
